<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>google</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">

<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://pygoogle.sf.net">PyGoogle</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <font size="-1"><b class="breadcrumbs">
        Module&nbsp;google
      </b></font></br>
    </td>
    <td><table cellpadding="0" cellspacing="0">
      <tr><td align="right"><font size="-2">[show&nbsp;private&nbsp;|&nbsp;<a href="../public/google-module.html">hide&nbsp;private</a>]</font></td></tr>
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="google-module.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
    </table></td>
</tr></table>

<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module google</h2>

<p>Python wrapper for Google web APIs</p>
<p>This module allows you to access Google's web APIs through SOAP, to do 
things like search Google and get the results programmatically. Described 
<a href="http://www.google.com/apis/">here</a></p>
You need a Google-provided license key to use these services. Follow 
the link above to get one. These functions will look in several places 
(in this order) for the license key:
<ul>
  <li>
    the &quot;license_key&quot; argument of each function
  </li>
  <li>
    the module-level LICENSE_KEY variable (call setLicense once to set 
    it)
  </li>
  <li>
    an environment variable called GOOGLE_LICENSE_KEY
  </li>
  <li>
    a file called &quot;.googlekey&quot; in the current directory
  </li>
  <li>
    a file called &quot;googlekey.txt&quot; in the current 
    directory
  </li>
  <li>
    a file called &quot;.googlekey&quot; in your home directory
  </li>
  <li>
    a file called &quot;googlekey.txt&quot; in your home directory
  </li>
  <li>
    a file called &quot;.googlekey&quot; in the same directory as 
    google.py
  </li>
  <li>
    a file called &quot;googlekey.txt&quot; in the same directory as 
    google.py
  </li>
</ul>
Sample usage:
<pre class="literalblock">
   &gt;&gt;&gt; import google
   &gt;&gt;&gt; google.setLicense('...') # must get your own key!
   &gt;&gt;&gt; data = google.doGoogleSearch('python')
   &gt;&gt;&gt; data.meta.searchTime
   0.043221000000000002
   
   &gt;&gt;&gt; data.results[0].URL
   'http://www.python.org/'
   
   &gt;&gt;&gt; data.results[0].title
   '&lt;b&gt;Python&lt;/b&gt; Language Website'
</pre>
<hr/>
<p><b>Version:</b> 0.6
</p>

<dl><dt><b>Authors:</b></dt>
  <dd>
    Mark Pilgrim &lt;f8dy&#64;diveintomark.org&gt;,
    Brian Landers &lt;brian&#64;bluecoat93.org&gt;
  </dd>
</dl>

<p><b>License:</b> Python
</p>

<p><b>Contributors:</b>
<ul>
  <li>David Ascher, for the install script
</li>
  <li>Erik Max Francis, for the command line interface
</li>
  <li>Michael Twomey, for HTTP proxy support
</li>
  <li>Mark Recht, for patches to support SOAPpy

  </li>
</ul></p>


<!-- =========== START OF CLASSES =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Classes</th></tr>
<tr><td width="15%">
  <b><a href="google.SearchResult-class.html"><code>SearchResult</code></a></b></td>
  <td>Encapsulates the results from a search.</td></tr>
<tr><td width="15%">
  <b><a href="google.SearchResultsMetaData-class.html"><code>SearchResultsMetaData</code></a></b></td>
  <td>Container class for metadata about a given search query's results.</td></tr>
<tr><td width="15%">
  <b><a href="google.SearchReturnValue-class.html"><code>SearchReturnValue</code></a></b></td>
  <td>complete search results for a single query</td></tr>
<tr><td width="15%">
  <b><a href="../private/google._OutputFormatter-class.html"><code>_OutputFormatter</code></a></b></td>
  <td>&nbsp;</td></tr>
<tr><td width="15%">
  <b><a href="../private/google._SearchBase-class.html"><code>_SearchBase</code></a></b></td>
  <td>&nbsp;</td></tr>
<tr><td width="15%">
  <b><a href="../private/google._TextOutputFormatter-class.html"><code>_TextOutputFormatter</code></a></b></td>
  <td>&nbsp;</td></tr>
</table><br />


<!-- =========== START OF EXCEPTIONS =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Exceptions</th></tr>
<tr><td width="15%">
  <b><a href="google.NoLicenseKey-class.html"><code>NoLicenseKey</code></a></b></td>
  <td>Thrown when the API is unable to find a valid license key.</td></tr>
</table><br />


<!-- =========== START OF FUNCTION SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Function Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">        String
</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#doGetCachedPage" class="summary-sig-name"><code>doGetCachedPage</code></a>(<span class=summary-sig-arg>url</span>,
          <span class=summary-sig-arg>license_key</span>,
          <span class=summary-sig-arg>http_proxy</span>)</span></code>
<br />
Retrieve a page from the Google cache.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">        <a href="google.SearchReturnValue-class.html" 
        class="link"><code>SearchReturnValue</code></a>
</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#doGoogleSearch" class="summary-sig-name"><code>doGoogleSearch</code></a>(<span class=summary-sig-arg>q</span>,
          <span class=summary-sig-arg>start</span>,
          <span class=summary-sig-arg>maxResults</span>,
          <span class=summary-sig-arg>filter</span>,
          <span class=summary-sig-arg>restrict</span>,
          <span class=summary-sig-arg>safeSearch</span>,
          <span class=summary-sig-arg>language</span>,
          <span class=summary-sig-arg>inputencoding</span>,
          <span class=summary-sig-arg>outputencoding</span>,
          <span class=summary-sig-arg>license_key</span>,
          <span class=summary-sig-arg>http_proxy</span>)</span></code>
<br />
Search Google using the SOAP API and return the results.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#doSpellingSuggestion" class="summary-sig-name"><code>doSpellingSuggestion</code></a>(<span class=summary-sig-arg>phrase</span>,
          <span class=summary-sig-arg>license_key</span>,
          <span class=summary-sig-arg>http_proxy</span>)</span></code>
<br />
Get spelling suggestions from Google</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">        String
</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#getLicense" class="summary-sig-name"><code>getLicense</code></a>(<span class=summary-sig-arg>license_key</span>)</span></code>
<br />
Get the <a href="http://www.google.com/api">Google APIs</a> license 
key</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">        String
</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#getProxy" class="summary-sig-name"><code>getProxy</code></a>(<span class=summary-sig-arg>http_proxy</span>)</span></code>
<br />
Get the HTTP proxy we use for accessing Google</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#main" class="summary-sig-name"><code>main</code></a>(<span class=summary-sig-arg>argv</span>)</span></code>
<br />
Command-line interface.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#setLicense" class="summary-sig-name"><code>setLicense</code></a>(<span class=summary-sig-arg>license_key</span>)</span></code>
<br />
Set the <a href="http://www.google.com/api">Google APIs</a> license 
key</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="google-module.html#setProxy" class="summary-sig-name"><code>setProxy</code></a>(<span class=summary-sig-arg>http_proxy</span>)</span></code>
<br />
Set the HTTP proxy to be used when accessing Google</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_contentsOf"></a><span class="summary-sig"><span class="summary-sig-name">_contentsOf</span>(<span class=summary-sig-arg>dirname</span>,
          <span class=summary-sig-arg>filename</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_getRemoteServer"></a><span class="summary-sig"><span class="summary-sig-name">_getRemoteServer</span>(<span class=summary-sig-arg>http_proxy</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_getScriptDir"></a><span class="summary-sig"><span class="summary-sig-name">_getScriptDir</span>()</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_makeFormatter"></a><span class="summary-sig"><span class="summary-sig-name">_makeFormatter</span>(<span class=summary-sig-arg>outputFormat</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_marshalBoolean"></a><span class="summary-sig"><span class="summary-sig-name">_marshalBoolean</span>(<span class=summary-sig-arg>value</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="_output"></a><span class="summary-sig"><span class="summary-sig-name">_output</span>(<span class=summary-sig-arg>results</span>,
          <span class=summary-sig-arg>params</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="../private/google-module.html#_test" class="summary-sig-name"><code>_test</code></a>()</span></code>
<br />
Run functional test suite.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="../private/google-module.html#_usage" class="summary-sig-name"><code>_usage</code></a>()</span></code>
<br />
Display usage information for the command-line interface</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="../private/google-module.html#_version" class="summary-sig-name"><code>_version</code></a>()</span></code>
<br />
Display a formatted version string for the module</td></tr>
</table><br />


<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__author__"><code>__author__</code></a></b> = <span title="'Mark Pilgrim (f8dy@diveintomark.org)'"><code><span class="variable-quote">'</span>Mark&nbsp;Pilgrim&nbsp;(f8dy&#64;diveintomark.org)<span class="variable-quote">'</span>      </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__copyright__"><code>__copyright__</code></a></b> = <span title="'Copyright (c) 2002 Mark Pilgrim'"><code><span class="variable-quote">'</span>Copyright&nbsp;(c)&nbsp;2002&nbsp;Mark&nbsp;Pilgrim<span class="variable-quote">'</span>        </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__credits__"><code>__credits__</code></a></b> = <span title="'David Ascher, for the install script\nErik Max Francis, for the command line interface\nMichael Twomey, for HTTP proxy support'"><code><span class="variable-quote">'</span>David&nbsp;Ascher,&nbsp;for&nbsp;the&nbsp;install&nbsp;script\nEri<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__cvsversion__"><code>__cvsversion__</code></a></b> = <span title="'1.5'"><code><span class="variable-quote">'</span>1.5<span class="variable-quote">'</span>                                   </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__date__"><code>__date__</code></a></b> = <span title="'2004/02/25 23:46:07'"><code><span class="variable-quote">'</span>2004/02/25&nbsp;23:46:07<span class="variable-quote">'</span>                         </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__license__"><code>__license__</code></a></b> = <span title="'Python'"><code><span class="variable-quote">'</span>Python<span class="variable-quote">'</span>                                   </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="google-module.html#__version__"><code>__version__</code></a></b> = <span title="'0.6'"><code><span class="variable-quote">'</span>0.6<span class="variable-quote">'</span>                                      </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>NoneType</code></font></td>
<td><b><a href="google-module.html#HTTP_PROXY"><code>HTTP_PROXY</code></a></b> = <span title="None">None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>NoneType</code></font></td>
<td><b><a href="google-module.html#LICENSE_KEY"><code>LICENSE_KEY</code></a></b> = <span title="None">None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>booleanType</code></font></td>
<td><b><a href="../private/google-module.html#_false"><code>_false</code></a></b> = <span title="&lt;SOAPpy.Types.booleanType at 4590488&gt;"><code>&lt;SOAPpy.Types.booleanType&nbsp;at&nbsp;4590488&gt;           </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="../private/google-module.html#_googlefile1"><code>_googlefile1</code></a></b> = <span title="'.googlekey'"><code><span class="variable-quote">'</span>.googlekey<span class="variable-quote">'</span>                              </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="../private/google-module.html#_googlefile2"><code>_googlefile2</code></a></b> = <span title="'googlekey.txt'"><code><span class="variable-quote">'</span>googlekey.txt<span class="variable-quote">'</span>                           </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>tuple</code></font></td>
<td><b><a href="../private/google-module.html#_licenseLocations"><code>_licenseLocations</code></a></b> = <span title="((&lt;function &lt;lambda&gt; at 0x855b0&gt;, 'passed to the function in license_key variable'), (&lt;function &lt;lambda&gt; at 0x4868f0&gt;, 'module-level LICENSE_KEY variable (call setLicense to set it)'), (&lt;function &lt;lambda&gt; at 0x486bb0&gt;, 'an environment variable called GOOGLE_LICENSE_KEY'), (&lt;function &lt;lambda&gt; at 0x48e870&gt;, '.googlekey in the current directory'), (&lt;function &lt;lambda&gt; at 0x4930f0&gt;, 'googlekey.txt in the current directory'), (&lt;function &lt;lambda&gt; at 0x493170&gt;, '.googlekey in your home directory'), (&lt;function &lt;lambda&gt; at 0x4931f0&gt;, 'googlekey.txt in your home directory'), (&lt;function &lt;lambda&gt; at 0x4..."><code>((&lt;function&nbsp;&lt;lambda&gt;&nbsp;at&nbsp;0x855b0&gt;,&nbsp;'p<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="../private/google-module.html#_namespace"><code>_namespace</code></a></b> = <span title="'urn:GoogleSearch'"><code><span class="variable-quote">'</span>urn:GoogleSearch<span class="variable-quote">'</span>                          </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>booleanType</code></font></td>
<td><b><a href="../private/google-module.html#_true"><code>_true</code></a></b> = <span title="&lt;SOAPpy.Types.booleanType at 532192&gt;"><code>&lt;SOAPpy.Types.booleanType&nbsp;at&nbsp;532192&gt;             </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="../private/google-module.html#_url"><code>_url</code></a></b> = <span title="'http://api.google.com/search/beta2'"><code><span class="variable-quote">'</span>http://api.google.com/search/beta2<span class="variable-quote">'</span>              </code>
</span></td></tr>
</table><br />


<!-- =========== START OF FUNCTION DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <th colspan="2">Function Details</th></tr>
</table>

<a name="doGetCachedPage"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">doGetCachedPage</span>(<span class=sig-arg>url</span>,
          <span class=sig-arg>license_key</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>http_proxy</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Retrieve a page from the Google cache.</p>
  You need a license key to call this function; see the <a 
  href="http://www.google.com/apis/">Google APIs</a> site to get one. 
  Then you can either pass it to this function every time, or set it 
  globally; see the <a href="google-module.html" 
  class="link"><code>google</code></a> module-level docs for details.
  <dl><dt></dt><dd>
    <dl><dt><b>Parameters:</b></dt>
      <dd><code><b>url</b></code> -
         full URL to the page to retrieve
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>license_key</b></code> -
         (optional) the Google API key to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>http_proxy</b></code> -
         (optional) the HTTP proxy server to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
    <dl><dt><b>Returns:</b></dt>
      <dd>
        full text of the cached page
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
  </dd></dl>
</td></tr></table>

<a name="doGoogleSearch"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">doGoogleSearch</span>(<span class=sig-arg>q</span>,
          <span class=sig-arg>start</span>=<span class=sig-default>0</span>,
          <span class=sig-arg>maxResults</span>=<span class=sig-default>10</span>,
          <span class=sig-arg>filter</span>=<span class=sig-default>1</span>,
          <span class=sig-arg>restrict</span>=<span class=sig-default>''</span>,
          <span class=sig-arg>safeSearch</span>=<span class=sig-default>0</span>,
          <span class=sig-arg>language</span>=<span class=sig-default>''</span>,
          <span class=sig-arg>inputencoding</span>=<span class=sig-default>''</span>,
          <span class=sig-arg>outputencoding</span>=<span class=sig-default>''</span>,
          <span class=sig-arg>license_key</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>http_proxy</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Search Google using the SOAP API and return the results.</p>
  <p>You need a license key to call this function; see the <a 
  href="http://www.google.com/apis/">Google APIs</a> site to get one. 
  Then you can either pass it to this function every time, or set it 
  globally; see the <a href="google-module.html" 
  class="link"><code>google</code></a> module-level docs for details.</p>
  <p>See <a 
  href="http://www.google.com/help/features.html">http://www.google.com/help/features.html</a> 
  for examples of advanced features. Anything that works at the Google 
  web site will work as a query string in this method.</p>
  <p>You can use the <code>start</code> and <code>maxResults</code> 
  parameters to page through multiple pages of results. Note that 
  'maxResults' is currently limited by Google to 10.</p>
  <p>See the API reference for more advanced examples and a full list of 
  country codes and topics for use in the <code>restrict</code> 
  parameter, along with legal values for the <code>language</code>, 
  <code>inputencoding</code>, and <code>outputencoding</code> 
  parameters.</p>
  You can download the API documentation <a 
  href="http://here">http://www.google.com/apis/download.html</a>.
  <dl><dt></dt><dd>
    <dl><dt><b>Parameters:</b></dt>
      <dd><code><b>q</b></code> -
         search string.
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>start</b></code> -
         (optional) zero-based index of first desired result.
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=int)</i>
      <dd><code><b>maxResults</b></code> -
         (optional) maximum number of results to return.
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=int)</i>
      <dd><code><b>filter</b></code> -
         (optional) flag to request filtering of similar results
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=int)</i>
      <dd><code><b>restrict</b></code> -
         (optional) restrict results by country or topic.
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>safeSearch</b></code> -
         (optional)
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=int)</i>
      <dd><code><b>language</b></code> -
         (optional)
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>inputencoding</b></code> -
         (optional)
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>outputencoding</b></code> -
         (optional)
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>license_key</b></code> -
         (optional) the Google API license key to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>http_proxy</b></code> -
         (optional) the HTTP proxy to use for talking to Google
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
    <dl><dt><b>Returns:</b></dt>
      <dd>
        the search results encapsulated in an object
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=<a href="google.SearchReturnValue-class.html" 
        class="link"><code>SearchReturnValue</code></a>)</i>
      </dd>
    </dl>
  </dd></dl>
</td></tr></table>

<a name="doSpellingSuggestion"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">doSpellingSuggestion</span>(<span class=sig-arg>phrase</span>,
          <span class=sig-arg>license_key</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>http_proxy</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Get spelling suggestions from Google</p>
  You need a license key to call this function; see the <a 
  href="http://www.google.com/apis/">Google APIs</a> site to get one. 
  Then you can either pass it to this function every time, or set it 
  globally; see the <a href="google-module.html" 
  class="link"><code>google</code></a> module-level docs for details.
  <dl><dt></dt><dd>
    <dl><dt><b>Parameters:</b></dt>
      <dd><code><b>phrase</b></code> -
         word or phrase to spell-check
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>license_key</b></code> -
         (optional) the Google API key to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      <dd><code><b>http_proxy</b></code> -
         (optional) the HTTP proxy to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
    <dl><dt><b>Returns:</b></dt>
      <dd>
        text of any suggested replacement, or None
      </dd>
    </dl>
  </dd></dl>
</td></tr></table>

<a name="getLicense"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">getLicense</span>(<span class=sig-arg>license_key</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Get the <a href="http://www.google.com/api">Google APIs</a> license 
  key</p>
  The key can be read from any number of locations. See the 
  module-leve documentation for the search order.
  <dl><dt></dt><dd>
    <dl><dt><b>Returns:</b></dt>
      <dd>
        the license key
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
    <dl><dt><b>Raises:</b></dt>
      <dd><code><b>NoLicenseKey</b></code> -
        if no valid key could be found
    </dl>
  </dd></dl>
</td></tr></table>

<a name="getProxy"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">getProxy</span>(<span class=sig-arg>http_proxy</span>=<span class=sig-default>None</span>)</span>
  </h3>
  Get the HTTP proxy we use for accessing Google
  <dl><dt></dt><dd>
    <dl><dt><b>Returns:</b></dt>
      <dd>
        the proxy
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
  </dd></dl>
</td></tr></table>

<a name="main"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">main</span>(<span class=sig-arg>argv</span>)</span>
  </h3>
  Command-line interface.
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="setLicense"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">setLicense</span>(<span class=sig-arg>license_key</span>)</span>
  </h3>
  Set the <a href="http://www.google.com/api">Google APIs</a> license 
  key
  <dl><dt></dt><dd>
    <dl><dt><b>Parameters:</b></dt>
      <dd><code><b>license_key</b></code> -
         The new key to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
<p><b>To Do:</b> validate the key?
</p>

  </dd></dl>
</td></tr></table>

<a name="setProxy"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">setProxy</span>(<span class=sig-arg>http_proxy</span>)</span>
  </h3>
  Set the HTTP proxy to be used when accessing Google
  <dl><dt></dt><dd>
    <dl><dt><b>Parameters:</b></dt>
      <dd><code><b>http_proxy</b></code> -
         the proxy to use
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        (type=String)</i>
      </dd>
    </dl>
<p><b>To Do:</b> validiate the input?
</p>

  </dd></dl>
</td></tr></table>

<a name="_test"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">_test</span>()</span>
  </h3>
  Run functional test suite.
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="_usage"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">_usage</span>()</span>
  </h3>
  Display usage information for the command-line interface
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="_version"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">_version</span>()</span>
  </h3>
  Display a formatted version string for the module
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
<br />


<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__author__"></a>
<h3>__author__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'Mark Pilgrim (f8dy@diveintomark.org)'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>Mark Pilgrim (f8dy&#64;diveintomark.org)<span class="variable-quote">'</span>                                 </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__copyright__"></a>
<h3>__copyright__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'Copyright (c) 2002 Mark Pilgrim'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>Copyright (c) 2002 Mark Pilgrim<span class="variable-quote">'</span>                                      </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__credits__"></a>
<h3>__credits__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'David Ascher, for the install script\nErik Max Francis, for the command line interface\nMichael Twomey, for HTTP proxy support'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'''</span>David Ascher, for the install script
Erik Max Francis, for the command line interface
Michael Twomey, for HTTP proxy support<span class="variable-quote">'''</span>                              </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__cvsversion__"></a>
<h3>__cvsversion__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'1.5'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>1.5<span class="variable-quote">'</span>                                                                  </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__date__"></a>
<h3>__date__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'2004/02/25 23:46:07'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>2004/02/25 23:46:07<span class="variable-quote">'</span>                                                  </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__license__"></a>
<h3>__license__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'Python'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>Python<span class="variable-quote">'</span>                                                               </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="__version__"></a>
<h3>__version__</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'0.6'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>0.6<span class="variable-quote">'</span>                                                                  </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="HTTP_PROXY"></a>
<h3>HTTP_PROXY</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>NoneType</code>

      </dd>
<span title="None">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="LICENSE_KEY"></a>
<h3>LICENSE_KEY</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>NoneType</code>

      </dd>
<span title="None">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_false"></a>
<h3>_false</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>booleanType</code>

      </dd>
<span title="&lt;SOAPpy.Types.booleanType at 4590488&gt;">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
&lt;SOAPpy.Types.booleanType at 4590488&gt;                                  </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_googlefile1"></a>
<h3>_googlefile1</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'.googlekey'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>.googlekey<span class="variable-quote">'</span>                                                           </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_googlefile2"></a>
<h3>_googlefile2</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'googlekey.txt'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>googlekey.txt<span class="variable-quote">'</span>                                                        </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_licenseLocations"></a>
<h3>_licenseLocations</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>tuple</code>

      </dd>
<span title="((&lt;function &lt;lambda&gt; at 0x855b0&gt;, 'passed to the function in license_key variable'), (&lt;function &lt;lambda&gt; at 0x4868f0&gt;, 'module-level LICENSE_KEY variable (call setLicense to set it)'), (&lt;function &lt;lambda&gt; at 0x486bb0&gt;, 'an environment variable called GOOGLE_LICENSE_KEY'), (&lt;function &lt;lambda&gt; at 0x48e870&gt;, '.googlekey in the current directory'), (&lt;function &lt;lambda&gt; at 0x4930f0&gt;, 'googlekey.txt in the current directory'), (&lt;function &lt;lambda&gt; at 0x493170&gt;, '.googlekey in your home directory'), (&lt;function &lt;lambda&gt; at 0x4931f0&gt;, 'googlekey.txt in your home directory'), (&lt;function &lt;lambda&gt; at 0x4...">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
((&lt;function &lt;lambda&gt; at 0x855b0&gt;,
  'passed to the function in license_key variable'),
 (&lt;function &lt;lambda&gt; at 0x4868f0&gt;,
  'module-level LICENSE_KEY variable (call setLicense to set it)'),
 (&lt;function &lt;lambda&gt; at 0x486bb0&gt;,
  'an environment variable called GOOGLE_LICENSE_KEY'),
 (&lt;function &lt;lambda&gt; at 0x48e870&gt;, '.googlekey in the current director<span class="variable-linewrap">\</span>
y'),
<span class="variable-ellipsis">...</span>                                                                    </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_namespace"></a>
<h3>_namespace</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'urn:GoogleSearch'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>urn:GoogleSearch<span class="variable-quote">'</span>                                                     </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_true"></a>
<h3>_true</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>booleanType</code>

      </dd>
<span title="&lt;SOAPpy.Types.booleanType at 532192&gt;">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
&lt;SOAPpy.Types.booleanType at 532192&gt;                                   </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_url"></a>
<h3>_url</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <code>str</code>

      </dd>
<span title="'http://api.google.com/search/beta2'">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>http://api.google.com/search/beta2<span class="variable-quote">'</span>                                   </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<br />


<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://pygoogle.sf.net">PyGoogle</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td align="left"><font size="-2">Generated by Epydoc 2.0 on Wed Feb 25 18:54:21 2004</font></td>
    <td align="right"><a href="http://epydoc.sourceforge.net"
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
  </tr>
</table>
</body>
</html>
